Consider replacing this Enumeration with the newer java.util.Iterator

<p>
  This rule is deprecated, use {rule:java:S1150} instead.
</p>
